﻿using API.Cryptsy.Entity;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;

namespace API.Cryptsy
{
    public partial class Cryptsy
    {
        public string PublicKey
        {
            get;
            set;
        }

        public string PrivateKey
        {
            get { return _privateKey; }
            set
            {
                _privateKey = value;
                _hmac = new HMACSHA512(Encoding.UTF8.GetBytes(value));
            }
        } private string _privateKey;


    }
}
